package com.tuzhi.auth.sys.scurity;




import com.tuzhi.common.domain.LoginUserBO;

import java.util.concurrent.TimeUnit;

public interface TokenStoreService {

    public LoginUserBO getLoginUser(String userId);

    public void delLoginUser(String userId);

    public void storeLoginUser(LoginUserBO loginUserBO);

    <T> void setCacheObject(final String key, final T value, final Integer timeout, final TimeUnit timeUnit);

    String getTokenKey(String uuid);


}
